<?php echo $header;?>
<style>
<!--
.list tr td{
	height:30px;
}
-->
</style>
<div id="content">
  <div class="box">
   <div class="heading">
      <h1><img src="view/image/information.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a href="<?php echo $cancel; ?>" class="button"><?php echo $button_cancel; ?></a></div>
    </div>
     <div class="content">
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
		<table class="list">
	      <tr>
		    <td><span class="required">*</span> <?php echo "标题"; ?></td>
            	<td ><?php echo $title;?>
			</td>
			</tr>
			<tr>
			<td><span class="required">*</span> <?php echo "建议"; ?></td>
			 <td>
					<?php echo $advice; ?>
				 </td>
			</tr>
			<tr>
			<td><span class="required">*</span> <?php echo "回复记录"; ?></td>
			 <td>
			 <?php foreach ($replies as $index=>$reply) { ?>
					<?php echo ($index+1).":  ".$reply['content']."<br/>"; ?>
			 <?php  }?>
			  </td>
			</tr>
			
        </table>
        <table class="form">
	      <tr>
		    <td><span class="required">*</span> <?php echo "回复"; ?></td>
            	<td ><textarea name="content" cols="50" rows="5"></textarea>
			</td>
			</tr>
        </table>
      </form>
      </div>
  </div>
  </div>

<?php echo $footer;?>
